package com.harlan.viewbindingstudy.base.mvp;

import android.os.Bundle;
import android.view.View;

import androidx.viewbinding.ViewBinding;

/**
 * Created by Administrator on 2018-10-16 0016.
 */

public interface IView<P> {
  //  void bindUI(View rootView);

    void bindEvent();

    void initData(Bundle savedInstanceState);

    int getOptionsMenuId();

    int getLayoutId();
    boolean useEventBus();
    P newP();
}
